package net.siufung.market.base.permit.spi;

import net.siufung.market.base.permit.spi.dto.PermitAppMenuDto;

import java.util.List;

/**
 * @author 陈建峰
 * @date 2023/8/8 1:32 PM
 * @since V1.0.0
 */
public interface IPermitAppMenuSpi {

    /**
     * 通过clientId 获取菜单
     * @param clientId 客户端id
     * @return List<PermitAppMenuDto>
     */
    List<PermitAppMenuDto> getPermitAppMenuList(String clientId);

    /**
     * 获取菜单id集合
     * @param clientId 客户端id
     * @return List<Integer>
     */
    List<Integer> getMenuIdListByClientId(String clientId);
}
